9cc753fa04e6918c5fbab96669684d86cfe96a4d,core/api/util/src/test/java/org/codehaus/cargo/util/Dom4JXmlFileBuilderTest.java,Dom4JXmlFileBuilderTest,testManagerCanInsertAnElementIntoFileThreeLevelsDeep,#,131
Before Change
public void testManagerCanInsertAnElementIntoFileThreeLevelsDeep() throws Exception
{
Document document = DocumentHelper.createDocument();
document.addElement("Application").addElement("foo").addElement("bar");
util.saveXml(document, TEST_FILE);
fileHandler.createFile(TEST_FILE);
manager.setFile(TEST_FILE);
After Change
public void testManagerCanInsertAnElementIntoFileThreeLevelsDeep() throws Exception
{
Document document = builder.newDocument();
Element application = document.createElement("Application");
document.appendChild(application);
Element foo = document.createElement("foo");
application.appendChild(foo);
Element bar = document.createElement("bar");